package com.example.service;

import com.example.common.result.Result;
import com.example.entity.mes.Maintain;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Hdx
* @description 针对表【maintain】的数据库操作Service
* @createDate 2024-03-13 10:32:50
*/
public interface MaintainService extends IService<Maintain> {

    Result queryMaintainIPageList(Integer current, Integer size, String code, String name, String type);

    Result queryMaintainById(Long id);

    Result insertMaintain(Maintain maintain);

    Result updateMaintain(Maintain maintain);

    Result deleteMaintain(Long id);
    Result deleteMaintainBatch(List<Integer> ids);
}
